package ui.robots_wicket;

import org.apache.wicket.protocol.http.WebApplication;

import unq.uis.robots.model.Sistema;

/**
 * Application object for your web application. If you want to run this
 * application without deploying, run the Start class.
 * 
 * @see ui.robots_wicket.Start#main(String[])
 */
public class WicketApplication extends WebApplication {
	
	private Sistema sistema;
	
	public WicketApplication(){
		this.sistema = Sistema.getInstance();
	}
	
	public Sistema getSistema(){
		return this.sistema;
	}
	
	/**
	 * @see org.apache.wicket.Application#getHomePage()
	 */
	@Override
	public Class<HomePage> getHomePage() {
		return HomePage.class;
	}

	/**
	 * @see org.apache.wicket.Application#init()
	 */
	
	@Override
	
	public void init() {
		super.init();

		// add your configuration here
	}
}
